/**
 * 
 */
package com.zhiteng.entity;


import java.io.Serializable;

import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonInclude;

/**  
* <p>Title: LeaveProcess.java</p>  
* <p>Description:流程定义实体类 </p>  
* @author dragon  
* @date 2018年11月30日  
* @version 1.0  
*/
@Table(name="tb_procdef")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Procdef implements Serializable{
	@Id
	private long id;	//	id不能唯一确定一个流程定义，一个流程定义由多个Procdef组成
	//	school_name + type 唯一确定一条流程定义
	private Integer type;	//	流程类型：1-请假流程；2-调课流程
	private String school_name;	//	学校名称
	private String school_id;	//	学校id
	private String assignee_id;	//	审批人id
	private Integer sequence;	//	第几个审批人
	private Integer hours;	//	请假时间超过多少小时需要经过该审批人同意
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getSchool_name() {
		return school_name;
	}
	public void setSchool_name(String school_name) {
		this.school_name = school_name;
	}
	public String getSchool_id() {
		return school_id;
	}
	public void setSchool_id(String school_id) {
		this.school_id = school_id;
	}
	
	public String getAssignee_id() {
		return assignee_id;
	}
	public void setAssignee_id(String assignee_id) {
		this.assignee_id = assignee_id;
	}
	public Integer getSequence() {
		return sequence;
	}
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}
	public Integer getHours() {
		return hours;
	}
	public void setHours(Integer hours) {
		this.hours = hours;
	}
	

	
}
